﻿<UserControl 
	x:Class="Sidvall.IdentityManager.UI.Wpf.Controls.SubHeaderControl"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
	xmlns:local="clr-namespace:Sidvall.IdentityManager.UI.Wpf.Controls" 
	mc:Ignorable="d" 
	d:DesignHeight="300" d:DesignWidth="300">

	<Label x:Name="lblHeader" FontWeight="Bold" FontSize="14"
		   Content="{Binding HeaderCaption, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:SubHeaderControl}}}" 
		   HorizontalContentAlignment="{Binding HeaderHorizontalContentAlignment, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:SubHeaderControl}}}" Background="{DynamicResource {x:Static SystemColors.GradientActiveCaptionBrushKey}}" />
</UserControl>
